package com.gxa.zhonglong.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel("公告信息实体类")
public class Notice implements Serializable {
  @ApiModelProperty(name="noticeId" ,value = "公告信息的Id")
  private Long noticeId;
  @ApiModelProperty(name="noticePrinciple" ,value = "公告信息的发布人")
  private String noticePrinciple;
  @ApiModelProperty(name="noticeTitle" ,value = "公告信息的标题")
  private String noticeTitle;
  @ApiModelProperty(name="noticeContent" ,value = "公告信息的内容")
  private String noticeContent;
  @ApiModelProperty(name="noticeTime" ,value = "公告信息的发布时间")
  @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss" ,timezone = "GMT+8")
  private java.sql.Timestamp noticeTime;
  @ApiModelProperty(name="inUse" ,value = "公告信息是否发布")
  private Boolean inUse;



}
